package cn.hairui.fastms.core.service;

import cn.hairui.fastms.core.bean.SRoleResc;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 角色资源关系表 服务类
 * </p>
 *
 * @author lihairui
 * @since 2020-11-29
 */
public interface SRoleRescService extends IService<SRoleResc> {

    List<Map> selectRoleRescByRoleCde(String roleCde, String parentMenuId);

    SRoleResc selectRoleRescByRoleCdeAndRescCde(String roleCde, String rescCde);
}
